Skip to content

fix(advisor): fix Scribe history & Anthropic tool feedback P0s, harden liveness/i18n, and remove dead UI - #26

Merged
mcocdaa merged 1 commit into
mainfrom
refactor/phase2-cleanup
Nov 23, 2026
Merged

mcocdaa merged 1 commit into
mainfrom
refactor/phase2-cleanup

Conversation

@mcocdaa

@mcocdaa mcocdaa commented Nov 23, 2026

Copy link
Copy Markdown
Collaborator

Phase 2 full-codebase cleanup & Water-Dispenser refactor verified locally across 1.6 & 1.7 builds and full test suite.

…n liveness/i18n, and remove dead UI

refactor(advisor): remove dead code and harden runtime boundaries

- Delete JobCandidateBuilder, InstantHintRegistry, Window_AdvisorApproval,
  and INTRODUCTION.txt; drop unused helper wrappers and legacy hint keys
- Make Actions an optional dependency (loadAfter, no modDependencies entry)
- Persist history via PawnAdvisorHistory IExposable wrapper instead of
  nested dictionary Scribe
- Preserve compact scoped tools on feedback turns for Anthropic/OpenAI
  tool_result compatibility
- Resolve risk purely from ToolManifest and IToolPolicyClassifier; drop
  hardcoded tool-id normalization and medium-risk special case
- Remove cabinet per-item selection callbacks in favor of approve-all
- Guard Find.TickManager access, filter fogged hostiles, and derive
  extreme temperature thresholds from colonist comfy range
- Cancel active cycles on despawn/destroy and tighten eligibility checks
- Route settings and gizmo strings through RimMindAPI.Text.TrOr
- Replace LongEventHandler with RimMindAPI.MainThread.Post in debug preview
- Convert source-string contract tests to behavioral tests with cleanup
- Rework deploy scripts for multi-version builds and runtime exclusions
@mcocdaa
mcocdaa merged commit 5264a3e into main Nov 23, 2026
@mcocdaa
mcocdaa deleted the refactor/phase2-cleanup branch November 23, 2026 06:08
@coderabbitai

coderabbitai Bot commented Nov 23, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration

  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant